#include "comm.hpp"


int main()
{
    int shmid = CreateSID();
    char* shmaddr = (char*)shmat(shmid,nullptr,0);
    while(true)
    {
        std::cout << "client say@ " << shmaddr << std::endl; 
        sleep(1);
    }
    shmdt(shmaddr);
    shmctl(shmid,IPC_RMID,nullptr);

    return 0;
}